//
//  GKPresentTransitionTool.h
//  GKTranstionAnimation
//
//  Created by Apple on 16/11/16.
//  Copyright © 2016年 郭凯. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    PresentTransitionTypePresent = 0,//管理present动画
    PresentTransitionTypeDismiss //管理dismiss动画
} PresentTransitionType;

@interface GKPresentTransitionTool : NSObject<UIViewControllerAnimatedTransitioning>
//根据定义的枚举初始化的两个方法
+ (instancetype)transitionWithTransitionType:(PresentTransitionType)type;
- (instancetype)initWithTransitionType:(PresentTransitionType)type;

@end
